import 'package:flutter/material.dart';
import '../widgets/other_user_content_display.dart';

/// 他人用户喜欢页面
class OtherUserLikesTab extends StatefulWidget {
  final String userId;

  const OtherUserLikesTab({super.key, required this.userId});

  @override
  State<OtherUserLikesTab> createState() => _OtherUserLikesTabState();
}

class _OtherUserLikesTabState extends State<OtherUserLikesTab>
    with AutomaticKeepAliveClientMixin {
  @override
  bool get wantKeepAlive => true;

  @override
  Widget build(BuildContext context) {
    super.build(context);
    return OtherUserContentDisplay(
      userId: widget.userId,
      contentType: OtherUserContentType.likes,
    );
  }
}
